<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link rel="stylesheet" href="style.css" />
    <title>{% block title %}{% endblock %} | e-Buisiness</title>
    <head>{% block head %}{% endblock %}</head>
</head>

<body>
	<div id="header">
		{% if user.is_authenticated %}
  			<p>Welcome, <a href="/accounts/profile/">{{ user.username }}</a>. Thanks for logging in.</p>
  			<p><a href="/accounts/logout">Logout</a></p>
		{% else %}
  			<p><a href="/accounts/login/">Login</a>&nbsp<a href="/accounts/register/">I'm a new user</a></p>
		{% endif %}		
	</div>
    <div id="content">
        {% block content %}{% endblock %}
    </div>
</body>
</html>